﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCMenuDetail.ascx.cs"
    Inherits="RedHouse.Web.UserControls.UCMenuDetail" %>
<div class="main-title">
    <h1>
        <%=MenuDetail.Title%></h1>
</div>
<div class="main-content">
    <%
        if (ImageList != null && ImageList.Count>0)
        {%>
    <div class="dish-slider">
        <div id="slider" class="nivoSlider theme-default">
            <% foreach (RedHouse.Data.Image item in ImageList)
               { %>
            <img class="home-slide" src="<%=item.Url %>" />
            <%}
            %>
        </div>
    </div>
    <%} %>
    <ul class="dish-list">
        <% if (Dishes != null)
           {
               foreach (RedHouse.Data.Entities.RedHouseDish item in Dishes)
               {%>
        <li><a class="title" id="A1" href="javascript:;"><span>
            <%=item.Title %></span>
            <%if (!string.IsNullOrEmpty(item.ImageUrl))
              { %>
            <img class="imgPreview" thumbsimage='<%=item.ImageUrl%>' src="images/zoom.gif" />
            <%} %>
        </a></li>
        <%}
           }%>
    </ul>
</div>
